package com.itheima.jobs;


import com.alibaba.dubbo.config.annotation.Reference;
import com.itheima.service.OrderSettingService;
import com.itheima.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import redis.clients.jedis.JedisPool;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Component
public class ClearsjJob {
    @Reference
    private OrderSettingService orderSettingService;
    @Autowired
    private JedisPool jedisPool;
    public void clearsj(){
        orderSettingService.delByDate();
    }
}
